package com.ruoyi.cngj.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 合作伙伴用户对象 cngj_user
 * 
 * @author yuexl
 * @date 2024-06-27
 */
public class CngjUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合作伙伴用户 */
    private String id;

    /** 客户省份 */
    @Excel(name = "省份")
    private String userProvince;

    /** 客户城市 */
    @Excel(name = "城市")
    private String userCity;

    /** 客户区域 */
    @Excel(name = "区(县)")
    private String userCounty;

    /** 客户省份编码 */
    private String userProvinceCode;

    /** 客户城市编码 */
    private String userCityCode;

    /** 客户区域编码 */
    private String userCountyCode;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 公司 */
    @Excel(name = "公司")
    private String userCompany;

    /** 电话 */
    @Excel(name = "电话")
    private String userPhone;

    /** 填写时间 */
    @Excel(name = "填写时间" ,width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserCompany(String userCompany) 
    {
        this.userCompany = userCompany;
    }

    public String getUserCompany() 
    {
        return userCompany;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserProvince(String userProvince) 
    {
        this.userProvince = userProvince;
    }

    public String getUserProvince() 
    {
        return userProvince;
    }
    public void setUserCity(String userCity) 
    {
        this.userCity = userCity;
    }

    public String getUserCity() 
    {
        return userCity;
    }
    public void setUserCounty(String userCounty) 
    {
        this.userCounty = userCounty;
    }

    public String getUserCounty() 
    {
        return userCounty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("userName", getUserName())
            .append("userCompany", getUserCompany())
            .append("userPhone", getUserPhone())
            .append("userProvince", getUserProvince())
            .append("userCity", getUserCity())
            .append("userCounty", getUserCounty())
            .toString();
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserProvinceCode() {
        return userProvinceCode;
    }

    public void setUserProvinceCode(String userProvinceCode) {
        this.userProvinceCode = userProvinceCode;
    }

    public String getUserCityCode() {
        return userCityCode;
    }

    public void setUserCityCode(String userCityCode) {
        this.userCityCode = userCityCode;
    }

    public String getUserCountyCode() {
        return userCountyCode;
    }

    public void setUserCountyCode(String userCountyCode) {
        this.userCountyCode = userCountyCode;
    }
}
